<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<input type="text" name="" id="" placeholder="33" value="" v-model="score"/>
			<h1 v-if="score > 80">优秀</h1>
			<h1 v-else-if="score > 70">良好</h1>
			<h1 v-else-if="score >= 60">及格</h1>
			<h1 v-else>不及格</h1>
		</div>
		<script src="../vue.js"></script>
		<script type="text/javascript">
			var vm = new Vue({
				el: "#app",
				data: {
					score: null
				},
				methods: {}
			})
		</script>
	</body>
</html>

